allow multiple rows selection

This commit is contained in:
yggverse 2024-04-14 22:33:37 +03:00
parent aa2a290615
commit 8439641f95

View file

@ -186,8 +186,6 @@ class History
) )
); );
// Init list storage // Init list storage
$this->list = new \GtkListStore( $this->list = new \GtkListStore(
\GObject::TYPE_STRING, \GObject::TYPE_STRING,
@ -199,6 +197,10 @@ class History
$this->list $this->list
); );
$this->treeview->get_selection()->set_mode(
\GtkSelectionMode::MULTIPLE
);
// Compose body // Compose body
$this->body = new \GtkBox( $this->body = new \GtkBox(
\GtkOrientation::VERTICAL \GtkOrientation::VERTICAL