Skip to content
Snippets Groups Projects
Commit e633cd78 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

tweak

parent 0fbcb061
Branches
Tags
No related merge requests found
...@@ -2601,7 +2601,7 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu) ...@@ -2601,7 +2601,7 @@ graphicWindow::graphicWindow(bool main, int numTiles, bool detachedMenu)
} }
x += 4; x += 4;
_label = new mainWindowProgress(x, mh + glheight + mheight + 2, width - x, sht); _label = new mainWindowProgress(x, mh + glheight + mheight + 2, width - x - WB, sht);
_label->box(FL_FLAT_BOX); _label->box(FL_FLAT_BOX);
_label->align(FL_ALIGN_LEFT | FL_ALIGN_INSIDE | FL_ALIGN_CLIP); _label->align(FL_ALIGN_LEFT | FL_ALIGN_INSIDE | FL_ALIGN_CLIP);
_label->color(FL_BACKGROUND_COLOR, FL_DARK2); // FL_DARK_GREEN _label->color(FL_BACKGROUND_COLOR, FL_DARK2); // FL_DARK_GREEN
......
...@@ -473,8 +473,6 @@ static void loadDb(const std::string &name) ...@@ -473,8 +473,6 @@ static void loadDb(const std::string &name)
void onelab_cb(Fl_Widget *w, void *data) void onelab_cb(Fl_Widget *w, void *data)
{ {
Msg::ResetErrorCounter();
if(!data) return; if(!data) return;
std::string action((const char*)data); std::string action((const char*)data);
...@@ -555,6 +553,8 @@ void onelab_cb(Fl_Widget *w, void *data) ...@@ -555,6 +553,8 @@ void onelab_cb(Fl_Widget *w, void *data)
return; return;
} }
Msg::ResetErrorCounter();
FlGui::instance()->onelab->setButtonMode("", "stop"); FlGui::instance()->onelab->setButtonMode("", "stop");
if(action == "compute") initializeLoops(); if(action == "compute") initializeLoops();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment