~ubuntu-branches/ubuntu/wily/poedit/wily

« back to all changes in this revision

Viewing changes to src/sidebar.cpp

  • Committer: Package Import Robot
  • Author(s): Gianfranco Costamagna, Gianfranco Costamagna, Andreas Rönnquist
  • Date: 2015-08-04 09:39:38 UTC
  • mfrom: (10.1.15 sid)
  • Revision ID: package-import@ubuntu.com-20150804093938-1pchlqyv49gbv2u7
Tags: 1.8.4-1
[ Gianfranco Costamagna ]
* New Upstream Version.
* Enable cpprest, now casablanca should be fine in unstable.
* Enable cld and cpprest only where available (adding d-ports archs)

[ Andreas Rönnquist ]
* Add --as-needed linker flag.

Show diffs side-by-side

added added

removed removed

Lines of Context:
632
632
    ClearMessage();
633
633
    ClearSuggestions();
634
634
 
635
 
    if (m_parent->GetCurrentSourceLanguage() == m_parent->GetCurrentLanguage())
 
635
    auto srclang = m_parent->GetCurrentSourceLanguage();
 
636
    auto lang = m_parent->GetCurrentLanguage();
 
637
    if (!srclang.IsValid() || !lang.IsValid() || srclang == lang)
636
638
    {
637
639
        OnQueriesFinished();
638
640
        return;