mainwindow.cpp
changeset 832 6a6018ba4cc7
parent 830 b5537d245165
child 833 bfacef6f29c1
     1.1 --- a/mainwindow.cpp	Tue Mar 09 08:29:09 2010 +0000
     1.2 +++ b/mainwindow.cpp	Tue Mar 09 09:37:57 2010 +0000
     1.3 @@ -1913,6 +1913,13 @@
     1.4  	return NULL;	
     1.5  }
     1.6  
     1.7 +uint  Main::currentModelID() const
     1.8 +{
     1.9 +	if (currentModel())
    1.10 +		return currentModel()->getID();
    1.11 +	return 0;	
    1.12 +}
    1.13 +
    1.14  VymModel* Main::currentModel() const
    1.15  {
    1.16  	if ( tabWidget->currentPage())