I know it sounds odd, but it's really annoying.

We're using maya 2013 sp1 on win7 64bit.

We have a PyQt UI for our asset management system within maya.  Before the UI 
is used, and a user uses file open in maya, and they have prefs pointing to OS 
native file browser, they have no issue.  After any of the refresh routines in 
our code are run, which I'll post snippets below, and the user opens the 
windows native file browser, there is no refresh of the native OS file browser 
until the window is moved, so if a user clicks on an other folder, there is no 
graphical change in the browser until the user moves the window.

Here is were I think the trouble is coming from.  This is the method called by 
the refresh button.  This is from within a class definition, so pardon the mess:

class ProcessTable(QtGui.QTableView):

  ...
  resetProgress = QtCore.pyqtSignal()
  ...

  ...
  def refresh(self):
    self.setStatus.emit('Refreshing...')
    self.resetProgress.emit()
    self.disableButtons.emit(True)
    from RefreshThread import RefreshThread
    self.refreshThread = RefreshThread(self, self.settings)
    self.refreshThread.progress.connect(self.progress)
    self.refreshThread.finished.connect(self.refreshFinished)
    self.refreshThread.start()
        
  def refreshFinished(self):
    self.progress.emit(100)
    self.disableButtons.emit(False)
    self.setStatus.emit('Refresh done.')

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to