[umbrello] [Bug 447866] [class diagram] Multiple association ends are drawn on the same edge point

"Oliver Kellogg" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=447866

--- Comment #10 from Oliver Kellogg <[email protected]> ---
Git commit 1816faa68be2ccfa42d870b78755853b300e076a by Oliver Kellogg.
Committed on 15/01/2022 at 14:20.
Pushed by okellogg into branch 'master'.

Address observation from https://bugs.kde.org/show_bug.cgi?id=447866#c2
> [...]
> Another thing I noticed is that if I save a file, it does not add the
> ".xmi" extension if I do not type it explicitly.

umbrello/uml.cpp function slotFileSaveAs
- In loop, after call to QFileDialog::getSaveFileUrl() :
  - Use `break' instead of setting `cont' false to avoid unnecessary
    if-nesting depth.
  - Before testing QFile::exists(file), if `file' does not contain "."
    then append extension ".xmi".
  - On calling KMessageBox::warningContinueCancel() use `file' in lieu
    of url.toLocalFile().

M  +21   -18   umbrello/uml.cpp

https://invent.kde.org/sdk/umbrello/commit/1816faa68be2ccfa42d870b78755853b300e076a

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.