Fixed a crashing bug when there is no TypeEditorView.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6827 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
08ebf37bc6
commit
c1381da97c
@ -261,7 +261,8 @@ AttributeWindow::MessageReceived(BMessage *message)
|
||||
bool
|
||||
AttributeWindow::QuitRequested()
|
||||
{
|
||||
fTypeEditorView->CommitChanges();
|
||||
if (fTypeEditorView != NULL)
|
||||
fTypeEditorView->CommitChanges();
|
||||
|
||||
bool quit = fProbeView->QuitRequested();
|
||||
if (!quit)
|
||||
|
Loading…
Reference in New Issue
Block a user