COIN-OR::LEMON - Graph Library

Changeset 140:d300e3153ab1 in glemon-0.x


Ignore:
Timestamp:
06/26/06 23:28:49 (13 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@2808
Message:

Create a new tab when open is selected and there are no tabs. Fixes bug 50.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main_win.cc

    r133 r140  
    340340void MainWin::openFile()
    341341{
    342   if(active_tab!=-1)
    343     {
    344       tabs[active_tab]->openFile();
    345     }
     342  if(active_tab==-1)
     343    {
     344      newTab();
     345    }
     346  tabs[active_tab]->openFile();
    346347}
    347348 
Note: See TracChangeset for help on using the changeset viewer.