• Maxim Monastirsky's avatar
    Don't show open remote entry in the recent doc menu · 24ad9087
    Maxim Monastirsky yazdı
    We use the same menu controller for both the Open toolbar
    button and the Recent Documents menu. While it's
    reasonable to put the open remote file command under the
    open button, it has nothing to do with recent documents,
    so it shouldn't appear there.
    
    Also don't add the "No Document" entry in case the open
    remote entry is visible. The whole point of the "No
    Document" entry is that we can't leave the menu empty,
    but if there is another visible entry, it's not needed.
    
    Change-Id: Ibefbdc6dc7d1d49f555d8ee23f67b47eba19b445
    Signed-off-by: 's avatarSzymon Kłos <eszkadev@gmail.com>
    24ad9087
recentfilesmenucontroller.cxx 17 KB