Mercurial > hg > octave-nkf
diff gui/src/MainWindow.h @ 13518:bace956a3724
Put history model part into OctaveLink.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 19 Jul 2011 15:53:43 +0200 |
parents | 86adc9c4ec4b |
children | 16b33b7ef1b3 |
line wrap: on
line diff
--- a/gui/src/MainWindow.h +++ b/gui/src/MainWindow.h @@ -156,13 +156,7 @@ setVariablesList (symbolTable); } - // Collect history list. - QStringList history = OctaveLink::instance ()->currentHistory (); - if (history.length ()) - { - m_mainWindow->historyDockWidget ()->updateHistory (history); - } - + OctaveLink::instance ()->updateHistoryModel (); usleep (100000); } }