Changeset 5179 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Jun 8, 2013, 3:24:33 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r5162 r5179  
    9797  _pppSPPComboBox     = 0; // necessary for enableStartStop()
    9898  _reqcActionComboBox = 0; // necessary for enableStartStop()
     99
     100  _mapWin = 0;
    99101
    100102  int ww = QFontMetrics(this->font()).width('w');
     
    28522854////////////////////////////////////////////////////////////////////////////
    28532855void bncWindow::slotMapPPP() {
    2854   bncMapWin* mapWin = new bncMapWin(this);
    2855   mapWin->show();
    2856 }
     2856  if (!_mapWin) {
     2857    _mapWin = new bncMapWin(this);
     2858  }
     2859  _mapWin->show();
     2860}
Note: See TracChangeset for help on using the changeset viewer.