Bläddra i källkod

Don't raise gui event when inserting a new tab.

woollybah 6 år sedan
förälder
incheckning
9e86b18d05
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      gtk3maxgui.mod/gtkgadget.bmx

+ 3 - 0
gtk3maxgui.mod/gtkgadget.bmx

@@ -3861,6 +3861,9 @@ Type TGTKTabber Extends TGTKContainer
 	End Rem
 	Method InsertListItem:Int(index:Int, text:String, tip:String, icon:Int, tag:Object)
 
+		' don't create gui events when inserting new pages.
+		ignoreChange = True
+		
 		Local image:Byte Ptr
 
 		If icons And icon>=0 Then