Bring back the remembering feature of the expanded/collapsed status of the tools. See issue 2648. Additionnally, correct a GUI bug of the B&W tool: the display wasn't initialized correctly when opening a new editor.

This commit is contained in:
Hombrenatureh.510
2015-03-15 12:28:27 +01:00
parent 682e6b9017
commit 4fbd3af156
24 changed files with 197 additions and 116 deletions

View File

@@ -139,6 +139,12 @@ FilePanel::~FilePanel () {
delete inspectorPanel;
}
void FilePanel::on_realize () {
Gtk::HPaned::on_realize ();
tpc->closeAllTools();
}
void FilePanel::setAspect () {
int winW, winH;
parent->get_size(winW, winH);