Browse Source

init content entity after navbar construction

PHP-GTK3
yggverse 4 months ago
parent
commit
6f69dc63ee
  1. 4
      src/Entity/Window/Tab/History.php
  2. 2
      src/Entity/Window/Tab/History/Content.php

4
src/Entity/Window/Tab/History.php

@ -31,11 +31,11 @@ class History @@ -31,11 +31,11 @@ class History
\GtkOrientation::VERTICAL
);
$this->content = new Content(
$this->navbar = new Navbar(
$this
);
$this->navbar = new Navbar(
$this->content = new Content(
$this
);

2
src/Entity/Window/Tab/History/Content.php

@ -175,7 +175,6 @@ class Content @@ -175,7 +175,6 @@ class Content
else
{
/* @TODO initiation test
$this->history->navbar->open->gtk->set_sensitive(
false
);
@ -183,7 +182,6 @@ class Content @@ -183,7 +182,6 @@ class Content
$this->history->navbar->delete->gtk->set_sensitive(
false
);
*/
}
}

Loading…
Cancel
Save