Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Commit

Permalink
Select Entity Color... (GTK error fix) - Grid menu missing shortcut n…
Browse files Browse the repository at this point in the history
…ames (fix)

- 5baf036 Possible fix for Misc menu, Select Entity Color...
          not working at times
  Had overlooked another reference to the "wrong"
     "menu_misc_selectentitycolor"
  entry, this caused a
     Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion
       `GTK_IS_WIDGET (widget)' failed
  -> fix: "menu_misc_select_entitycolor"
(cherry picked from commit 315b218)
  • Loading branch information
AEonZR authored and mfn committed Jan 18, 2010
1 parent 415cd4a commit 49547f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radiant/groupdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,7 @@ static void switch_page (GtkNotebook *notebook, GtkNotebookPage *page, guint pag
gtk_label_get(GTK_LABEL(gtk_notebook_get_tab_label(notebook, gtk_notebook_get_nth_page(notebook, page_num))), &text);
gtk_window_set_title (GTK_WINDOW (data), text);

gpointer item = g_object_get_data (G_OBJECT (g_pParentWnd->m_pWidget), "menu_misc_selectentitycolor");
gpointer item = g_object_get_data (G_OBJECT (g_pParentWnd->m_pWidget), "menu_misc_select_entitycolor");

if (g_pParentWnd->FloatingGroupDialog())
{
Expand Down

0 comments on commit 49547f6

Please sign in to comment.