Innovators-Team10/TrollEdit — Issue #53: close file function does not work
Author: lubostar
Created: 2012-03-07 22:48:12+00:00
State: open
Labels: Bug

This bug is related with tabs... this function (QAction) used to be initialized with global variable scene (DocumentScene) (defined in class main_window) as its parent. This variable (scene) shouldn't be used after tabs was added, because now there are many DocumentScenes (in each tab is one) and not just one global scene. So initialization was changed with new global variable tabWidget (QTabWidget) as its parent, but this obviously doesn't work.