**System Information**
Kubuntu 15.10
Nvidia GeForce 9600 GT (driver: 340.96)
**Blender Version**
Broken: (2.76b)
**Short description of error**
Redrawing dialogs //(invoke_props_dialog)// doesn't work when changing ID property.
Works for popups //(invoke_props_popup)// but only after second redraw.
{F287649}
```
import bpy
class WM_OT_my_props_dialog(bpy.types.Operator):
bl_idname = "wm.my_props_dialog"
bl_label = "Props Dialog"
bl_options = {'REGISTER', 'UNDO'}
def check(self, context):
return True
def draw(self, context):
layout = self.layout
layout.prop(context.scene.objects, "active")
if context.scene.objects.active:
layout.prop(context.scene.objects.active, "data")
def execute(self, context):
return {'FINISHED'}
def invoke(self, context, event):
# return context.window_manager.invoke_props_dialog(self)
return context.window_manager.invoke_props_popup(self, event)
bpy.utils.register_module(__name__)
bpy.ops.wm.my_props_dialog('INVOKE_DEFAULT')
```
**Exact steps for others to reproduce the error**
1. Run the script in blender's text editor.
2. Change active object 3 times (popup will be redrawn on 2nd and 3rd time).
3. Uncomment the line and repeat steps 1-2 with //invoke_props_dialog//.