Skip to content

Commit

Permalink
- Made System.spawn return 0 on success in Linux
Browse files Browse the repository at this point in the history
- Added sane minimum width/height for OMPlot


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8552 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 8, 2011
1 parent dc73d9c commit 76956c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OMPlot/OMPlotGUI/PlotWindow.cpp
Expand Up @@ -71,6 +71,8 @@ void PlotWindow::setUpWidget()
// set the plot grid
setGrid(true);
setXLabel(tr("time"));
setMinimumHeight(250);
setMinimumWidth(250);
}

void PlotWindow::initializePlot(QStringList arguments)
Expand Down Expand Up @@ -668,6 +670,7 @@ void PlotWindow::enablePanMode(bool on)
{
mpPlot->getPlotPanner()->setEnabled(on);
if(on)

{
mpPlot->canvas()->setCursor(Qt::OpenHandCursor);
}
Expand Down

0 comments on commit 76956c4

Please sign in to comment.